﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace XCommunity.Documents.UBB
{
  /// <summary>
  /// 代表一个UBB块（有子元素的UBB标签封闭的块）
  /// </summary>
  internal class UbbBlock : UbbElement, IUbbContainer
  {

    private ArrayList _childrens = new ArrayList();


    #region IUbbBlock 成员

    void IUbbContainer.AppendChild( object child )
    {
      _childrens.Add( child );
    }

    #endregion


    public IEnumerable Childrens
    {
      get { return _childrens; }
    }

  }
}
